﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class _Default : System.Web.UI.Page 
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Profile.PageVisits++;
        this.labAddress.Text = string.Format("{0}省{1}市{2}街道",Profile.Address.Province,Profile.Address.City,Profile.Address.Street);
    }
    protected void UpdateProfile(object sender, EventArgs e)
    {
        Profile.FirstName = this.txtFirstName.Text;
        Profile.LastName = this.txtLastName.Text;
    }
}
